package lab2.text22;

public class Test {
    public static void main(String[] args) {
        String resout ="Hello , world!";


    char tmp;
    int i;
    for (i=0;i<resout.length();i++){
        tmp=resout.charAt(i);
        if (tmp>='A'&& tmp<='Z'){

            System.out.println(tmp+32);
        }else if (tmp>='0'&&tmp<='9'){
            System.out.println(0);
        }else if(tmp>='a'&&tmp<='z'){
            System.out.println(tmp);
        }else {
            System.out.println("#");
        }


    }



    }
}
